package com.zx.service.goods;

import com.zx.dto.request.goods.GoodsRequestDto;
import com.zx.dto.request.order.OrderDtoRequest;
import com.zx.dto.request.specification.SpecificationReqDto;
import com.zx.dto.response.brand.BrandDto;
import com.zx.dto.response.goods.*;
import com.zx.dto.response.specification.SpecificationBrandDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author sunkai
 * @date 2022/7/30 0030 16:29
 * @mood zhou xun
 */
public interface GoodsService {

    List<GoodsDto> queryGoods();

    GoodsDetailDto queryMerchandiseDetails(Integer id);

    List<Integer> queryGoodsBrandId(String goodName);

    List<SpecificationBrandDto> querySpecificationValue(List<BrandDto> brandDtoList,GoodsRequestDto goodsRequestDto);

    GoodsListDtoResult queryGood(GoodsRequestDto goodsRequestDto);

    GoodsListDtoResult goodSort(GoodsRequestDto goodsRequestDto);

    List<GoodsDetailDto> queryGoodShop(@Param("id") List<Integer> id);

    List<GoodsDetailDto> goodShop( OrderDtoRequest orderDtoRequest);
}
